package cn.yitun.chat.yitunserverimbase.dao.group;

import cn.yitun.chat.yitunservercommonlib.crud.yitun.CrudDao;
import cn.yitun.chat.yitunservercommonlib.dataentity.dto.group.GroupNumberDto;
import cn.yitun.chat.yitunservercommonlib.dataentity.po.group.GroupNumberInfo;
import cn.yitun.chat.yitunservercommonlib.dataentity.vo.group.GroupNumberVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 
 * @author chenyitun
 * @email chenyitun@163.com
 * @date 2020-05-27 14:42:53
 */
@Mapper
public interface GroupNumberDao extends CrudDao<GroupNumberDto, GroupNumberInfo, GroupNumberVo> {
	/**
	 * 通过唯一码获取
	 * @param code
	 * @return
	 */
	GroupNumberVo getVOByCode(@Param("code") String code);

	int absDel(Long id);

	int batchAbsDel(Long[] ids);
}
